Skip to content

Conversation

@fzowl
Copy link
Contributor

@fzowl fzowl commented Nov 3, 2025

Summary

This PR contains the cleaned up VoyageAI integration with the following improvements:

Testing:

  • All tests compile successfully
  • Text embeddings functionality verified
  • Multimodal embeddings support added
  • Rerank functionality included

@elasticsearchmachine elasticsearchmachine added v9.3.0 external-contributor Pull request authored by a developer outside the Elasticsearch team needs:triage Requires assignment of a team area label labels Nov 3, 2025
@fzowl fzowl force-pushed the voyageai-integration-v2 branch 3 times, most recently from c480404 to 3c2400a Compare November 3, 2025 13:59
- Add text, multimodal, and contextual embeddings support
- Add rerank functionality
- All code in services/voyageai directory
- Includes comprehensive test coverage
- Removed 3 files from external/voyageai directory
- Removed 3 files from external/http/sender directory
- All VoyageAI code now in services/voyageai directory only
@fzowl fzowl force-pushed the voyageai-integration-v2 branch from 3c2400a to c2e11ea Compare November 3, 2025 14:00
- Add text, multimodal, and contextual embeddings support
- Add rerank functionality
- All code in services/voyageai directory
- Includes comprehensive test coverage
- Removed test-voyageai-e2e.sh script
- All VoyageAI code now properly organized in services/voyageai only
@fzowl fzowl force-pushed the voyageai-integration-v2 branch from 370aba7 to 72f6dd3 Compare November 3, 2025 14:13
fzowl and others added 3 commits November 3, 2025 15:22
- Add text, multimodal, and contextual embeddings support
- Add rerank functionality
- All code in services/voyageai directory
- Includes comprehensive test coverage
- Removed test-voyageai-e2e.sh script
- Deleted ALL voyageai files from external directory (22 files)
- All VoyageAI code now properly organized in services/voyageai only
* Fix irregular spaces

* Update analysis-keyword-repeat-tokenfilter.md

* Update search-suggesters.md

* Update search-profile.md
fzowl and others added 8 commits November 3, 2025 16:06
- Add multimodal embeddings support with VoyageAIMultimodalEmbeddings* classes
- Add contextual embeddings support with VoyageAIContextualEmbeddings* classes
- Refactor text embeddings: move to embeddings/text subdirectory for better organization
- Remove old embedding classes from embeddings root directory
- Update action creators and visitors to handle new embedding types
- Update imports in InferenceNamedWriteablesProvider
- Add corresponding request/response entities for multimodal and contextual embeddings
- Update unit tests for all new and modified components
- Move text embeddings test files to text/ subdirectory
- Fix package declarations in test files
- Update VoyageAIEmbeddingsResponseEntityTests to use correct API methods
- Change .service() to .getService() and add .getConfigurations()
- NOTE: Additional test import fixes needed for full compilation
- Update all VoyageAI test imports to use embeddings/text package
- Fix VoyageAIMultimodalEmbeddingsTaskSettings constructor calls (add truncation param)
- Fix VoyageAIMultimodalEmbeddingsServiceSettings constructor calls (add embeddingType param)
- Update test files: VoyageAIServiceTests, VoyageAIActionCreatorTests, VoyageAIEmbeddingsActionTests
- Update test files: VoyageAIEmbeddingsRequestTests, VoyageAIRequestTests
- Update test files: VoyageAIMultimodalEmbeddingsTaskSettingsTests, VoyageAIMultimodalEmbeddingsModelTests
- Update test files: VoyageAIMultimodalEmbeddingsRequestTests

Remaining: 3 compilation errors to fix
@fzowl
Copy link
Contributor Author

fzowl commented Nov 4, 2025

@davidkyle Can you please take a look?

@kingherc kingherc added the :ml Machine learning label Nov 5, 2025
@elasticsearchmachine elasticsearchmachine added Team:ML Meta label for the ML team and removed needs:triage Requires assignment of a team area label labels Nov 5, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@davidkyle davidkyle self-assigned this Nov 5, 2025
@davidkyle davidkyle requested review from DonalEvans and removed request for davidkyle November 13, 2025 13:36
@fzowl
Copy link
Contributor Author

fzowl commented Nov 24, 2025

@DonalEvans @jonathan-buttner Can you please take a look?

@DonalEvans
Copy link
Contributor

Can you please take a look?

I will try to get to this PR this week, but I have a lot on my plate right now with other large PRs to review. Thank you for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>enhancement external-contributor Pull request authored by a developer outside the Elasticsearch team :ml Machine learning Team:ML Meta label for the ML team v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants